package com.sunflower.common.mybatis.core.service;

import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
import com.sunflower.common.mybatis.core.domain.ISearch;
import com.sunflower.common.mybatis.core.page.PageQuery;
import com.sunflower.common.mybatis.core.page.TableDataInfo;

import java.util.List;

/**
 * TODO
 *
 * @author: SunLuQuan
 * @Date: 2024年05月08日 15:26
 * @Description: IBoSearchService
 */
public interface IBoSearchService<T extends ISearch, V, B extends ISearch> extends IBoService<T, V, B> {

    public TableDataInfo<V> searchPageList(B bo, PageQuery pageQuery, SFunction<T, ?>... columns);

    public List<V> searchList(B bo);
}
